package com.ruoyi.system.mapper;

import com.github.pagehelper.Page;
import com.ruoyi.system.domain.Equipment;
import com.ruoyi.system.domain.dto.EquipmentQueryDto;
import com.ruoyi.system.domain.vo.EquipmentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface EquipmentMapper{
    Page<Equipment> selectEquipmentList(EquipmentQueryDto dto);

    void insert(Equipment equipment);

    void updeat(Equipment equipment);

    void changeEquipmentStatus(@Param("id") Long id,@Param("states") String states);

    void deleteByIds(@Param("ids") Long[] ids);

    List<EquipmentVo> selectEquipmentVoList();
}
